package com.dfbz.springboot_project.service;

import com.dfbz.springboot_project.entity.Role;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface RoleService {
    PageInfo<Role> selectPage(Integer pageNum, Integer pageSize);

    List<Role> selectAll();

    List<Role> selectRoleNamesByAid(Integer Aid);
    Role selectOne(Integer Rid);

    void update(Map<String, Object> params);

    void deleteById(Integer Rid);

    void insert(Map<String, Object> params);

    void InsertSelective(Map<String, Object> params);
}
